/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ficha.storyteller.vampiro;

import ficha.LabelNivel;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JOptionPane;

/**
 * JLabel para força de vontade e humanidade
 * @author ywaki
 */
public class VantagensLabel extends LabelNivel {

    public VantagensLabel(AreaFicha areaFicha) {
        super(areaFicha);
    }
    
    
    @Override
    protected void setNivelMinimo() {
        nivelMinimo=0;
    }

    @Override
    protected void setNivelMaximo() {
        nivelMaximo = 10;
    }

    @Override
    protected void atualizaIcone() {
        switch (this.getNivel()) {
                case 0:
                    setIcon(new ImageIcon(getClass().getResource("/ficha/imagens/nvl00.png")));
                    break;
                case 1:
                    setIcon(new ImageIcon(getClass().getResource("/ficha/imagens/nvl01.png")));
                    break;
                case 2:
                    setIcon(new ImageIcon(getClass().getResource("/ficha/imagens/nvl02.png")));
                    break;
                case 3:
                    setIcon(new ImageIcon(getClass().getResource("/ficha/imagens/nvl03.png")));
                    break;
                case 4:
                    setIcon(new ImageIcon(getClass().getResource("/ficha/imagens/nvl04.png")));
                    break;
                case 5:
                    setIcon(new ImageIcon(getClass().getResource("/ficha/imagens/nvl05.png")));
                    break;
                case 6:
                    setIcon(new ImageIcon(getClass().getResource("/ficha/imagens/nvl06.png")));
                    break;
                case 7:
                    setIcon(new ImageIcon(getClass().getResource("/ficha/imagens/nvl07.png")));
                    break;
                case 8:
                    setIcon(new ImageIcon(getClass().getResource("/ficha/imagens/nvl08.png")));
                    break;
                case 9:
                    setIcon(new ImageIcon(getClass().getResource("/ficha/imagens/nvl09.png")));
                    break;
                case 10:
                    setIcon(new ImageIcon(getClass().getResource("/ficha/imagens/nvl10.png")));
            }
    }
    
    
    
    
}
